<?php
/**
 * Created by IntelliJ IDEA.
 * User: XD
 * Date: 2017/8/23
 * Time: 14:51
 */
class DB extends executionSql
{
    function __construct($_builder,$model){
        parent::__construct($_builder,$model);
    }

    /**
     * @param $db string 数据库name
     */
    function createDB($dbname,$db){
        $createsql = "CREATE DATABASE ".$db;
        $this->executionSql($dbname,$createsql);
    }
    
    
    
    
}
